package com.jabber.listeners;

import org.jivesoftware.smack.Chat;
import org.jivesoftware.smack.ChatManagerListener;

public class ChatList implements ChatManagerListener {
	
	public ChatList() {
		super();
	}

	@Override
	public void chatCreated(Chat chat, boolean createdLocally) {
		chat.addMessageListener(new MessageList());
	}

}
